#include "Input.h"

CInput::CInput(void)
{}

CInput::~CInput(void)
{
}

int CInput::getIndexAction(string nameAction)
{
	if(nameAction=="moveForward")
		return eMoveForward;
	else if(nameAction=="moveBackward")
		return eMoveBackward;
	else if(nameAction=="strafeLeft")
		return eStrafeLeft;
	else if(nameAction=="strafeRight")
		return eStrafeRight;
	else if(nameAction=="changeCamera")
		return eChangeCamera;
	else if(nameAction=="turnLeftRight")
		return eTurnLeftRight;
	else if(nameAction=="lookUpDown")
		return eLookUpDown;
	else
		return -1;
}
